package com.qingke.note.IDao;

import java.util.Date;
import java.util.List;

import com.qingke.note.pojo.Note;

public interface NoteMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Note record);

    int insertSelective(Note record);

    Note selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Note record);

    int updateByPrimaryKey(Note record);

	Note selectByTime(Date createTime);
	
	List<Note> selectByTitle(String title);
	
	List<Note> selectByContent(String content);
	
}